<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>后台登录</title>
	<link rel="stylesheet" type="text/css" href="__CSS__/alogin.css">
	<script type="text/javascript" src="__JS__/jquery-3.6.0.min.js"></script>
	<script type="text/javascript" src="__JS__/jquery.validate.min.js"></script>
	<script type="text/javascript">
		$(document).ready(function(){
			$('#alogin').validate({
				rules:{
					nick:{
						required:true,
					},
					pa:{
						required:true,
						digits:true,
					},
				},
				messages:{
					nick:{
						required:"<br>请输入用户名!!!",
					},
					pa:{
						required:"<br>请输入密码!!!",
						digits:"错误",
					}
				}
			})
		})
	</script>
</head>
<body>
	<div class="login">
		<h2>论坛后台管理员登录</h2>
		<div class="log">
		<form action="{:url('Admin/doalogin')}" method="post" id="alogin">
			<ul>
				<li>
					<input type="text" name="nick" placeholder="请输入用户名" class="in">
				</li>
				<li>
					<input type="text" name="pa" placeholder="请输入密码：6~16个字符" class="in">
				</li>
				<li>
					<input type="submit" value="登 录" class="denglu">
				</li>
			</ul>
		</form>
		</div>
	</div>
</body>
</html>